package com.mcp.mslocalmcp.model;

import com.fasterxml.jackson.annotation.JsonProperty;

public class McpRequest {
    @JsonProperty("jsonrpc")
    private String jsonrpc;
    
    @JsonProperty("id")
    private String id;
    
    @JsonProperty("method")
    private String method;
    
    @JsonProperty("params")
    private McpParams params;
    
    // 构造函数
    public McpRequest() {}
    
    public McpRequest(String jsonrpc, String id, String method, McpParams params) {
        this.jsonrpc = jsonrpc;
        this.id = id;
        this.method = method;
        this.params = params;
    }
    
    // Getter和Setter方法
    public String getJsonrpc() {
        return jsonrpc;
    }
    
    public void setJsonrpc(String jsonrpc) {
        this.jsonrpc = jsonrpc;
    }
    
    public String getId() {
        return id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    public String getMethod() {
        return method;
    }
    
    public void setMethod(String method) {
        this.method = method;
    }
    
    public McpParams getParams() {
        return params;
    }
    
    public void setParams(McpParams params) {
        this.params = params;
    }
} 